package com.liting.uitest.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liting.uitest.entity.FileInfo;
import com.liting.uitest.model.BaseRes;
import com.liting.uitest.model.ReactionResult;
import org.springframework.web.multipart.MultipartFile;

public interface FileInfoService extends IService<FileInfo> {
    public BaseRes<FileInfo> uploadFile(MultipartFile multipartFile) throws Exception;

    public FileInfo getFile(Long id);

    Page<FileInfo> getFileList(Integer pageNum, Integer pageSize, String fileName, String uploadDate);

}
